import request from '/@/utils/request';

export function useLoginApi() {
	return {
		signIn: (data) => {
			return request({
				url: '/comm/login',
				method: 'post',
				data,
			});
		},
		signOut: (data) => {
			return request({
				url: '/comm/log_out',
				method: 'get'
			});
		},
	};
}
